package com.example.swaggertest.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassDescription:
 * @Author：李白
 * @Date：2023/5/22 16:00
 */
@ApiModel(value = "用户实体类", description = "用户实体类描述")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {
    @ApiModelProperty(name = "id", value = "学生姓名", example = "12345")
    private Integer id;
    @ApiModelProperty(name = "username", value = "用户账号", example = "12345")
    private String username;
    @ApiModelProperty(name = "password", value = "用户密码", example = "12345")
    private String password;
}